/**
 * Created
 * by my on 2017/8/14.
 */
public class PrintArray {
    //打印一个随机数组.
    public static void printArray(int[] a) {
        System.out.println("打印数组：");
        int count=0;
        do {
            System.out.print(a[count] + "  ");
            count++;
        } while (count<a.length);
        System.out.println();
    }
}
